<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>lib/logging.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/lib.html'>lib</a>/logging.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/logging.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 lib/logging.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/logging.h.html' title='Multiple included from 2 places.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/** \file logging.h</em>
<a id='L2' name='L2'></a>   2 <em class='comment'> *  \brief Header: provides a log file to ease tracing the program</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> */</em>
<a id='L4' name='L4'></a>   4 
<a id='L5' name='L5'></a>   5 <em class='sharp'>#ifndef</em> <a href='../S/lib--logging.h.html#L6' title='Defined at 6 in lib/logging.h.'>MC_LOGGING_H</a>
<a id='L6' name='L6'></a>   6 <em class='sharp'>#define</em> <a href='../S/lib--logging.h.html#L5' title='Referred from 5 in lib/logging.h.'>MC_LOGGING_H</a>
<a id='L7' name='L7'></a>   7 
<a id='L8' name='L8'></a>   8 <em class='comment'>/*</em>
<a id='L9' name='L9'></a>   9 <em class='comment'>   This file provides an easy-to-use function for writing all kinds of</em>
<a id='L10' name='L10'></a>  10 <em class='comment'>   events into a central log file that can be used for debugging.</em>
<a id='L11' name='L11'></a>  11 <em class='comment'> */</em>
<a id='L12' name='L12'></a>  12 
<a id='L13' name='L13'></a>  13 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L14' name='L14'></a>  14 
<a id='L15' name='L15'></a>  15 <em class='sharp'>#define</em> mc_log_mark() <a href='../S/lib--logging.c.html#L141' title='Defined at 141 in lib/logging.c.'>mc_log</a>("%s:%d\n",<a href='../Y/__FILE__.html' title='Multiple used in 7 places.'>__FILE__</a>,<a href='../Y/__LINE__.html' title='Multiple used in 8 places.'>__LINE__</a>)
<a id='L16' name='L16'></a>  16 
<a id='L17' name='L17'></a>  17 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L18' name='L18'></a>  18 
<a id='L19' name='L19'></a>  19 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L20' name='L20'></a>  20 
<a id='L21' name='L21'></a>  21 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L22' name='L22'></a>  22 
<a id='L23' name='L23'></a>  23 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L24' name='L24'></a>  24 
<a id='L25' name='L25'></a>  25 <em class='comment'>/* *INDENT-OFF* */</em>
<a id='L26' name='L26'></a>  26 <strong class='reserved'>void</strong> <a href='../S/lib--logging.c.html#L141' title='Defined at 141 in lib/logging.c.'>mc_log</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/fmt.html' title='Multiple used in 36 places.'>fmt</a>, ...) <a href='../D/G_GNUC_PRINTF.html' title='Multiple defined in 6 places.'>G_GNUC_PRINTF</a> (1, 2);
<a id='L27' name='L27'></a>  27 <strong class='reserved'>void</strong> <a href='../S/lib--logging.c.html#L156' title='Defined at 156 in lib/logging.c.'>mc_always_log</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/fmt.html' title='Multiple used in 36 places.'>fmt</a>, ...) <a href='../D/G_GNUC_PRINTF.html' title='Multiple defined in 6 places.'>G_GNUC_PRINTF</a> (1, 2);
<a id='L28' name='L28'></a>  28 <em class='comment'>/* *INDENT-ON* */</em>
<a id='L29' name='L29'></a>  29 
<a id='L30' name='L30'></a>  30 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L31' name='L31'></a>  31 
<a id='L32' name='L32'></a>  32 <em class='sharp'>#endif</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+32 lib/logging.h'  /> */</em>
</body>
</html>
